#ifndef TIMER
#define TIMER

#include <SDL/SDL.h>
#include "../os/os.h"
#include "../define.h"

namespace sleek
{
    namespace core
    {
        namespace math
        {
            class timer
            {
                public:
                    timer();
                    ~timer();

                    void update_begin();
                    void update_end();

                    long getTimeMin();
                    long getTimeSec();
                    long getTimeMsec();
                    long getTick();

                    long getTime();
                    long getElapsedTime();

                    time_t timestart;
                    time_t timestamp;
            };
        }
    }
}

#endif
